package com.qk.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qk.dto.course.CourseDTO;
import com.qk.entity.Course;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;


@Mapper
public interface CourseMapper extends BaseMapper<Course> {
    List<CourseDTO> getCourses(CourseDTO courseDto);

    @Select("select * from course")
    List<Course> selectAll();

}
